]> dgit.raspbian.org Git - gnome-shell.git/log
gnome-shell.git
15 years agoMove calendar handling out-of-process
David Zeuthen [Fri, 25 Feb 2011 22:42:25 +0000 (17:42 -0500)]
Move calendar handling out-of-process

Unfortunately the evolution-data-server client-side libraries seem to
block the calling thread. This is a major problem as we must never
ever block the main thread (doing so causes animations to flicker
etc.). In the worst case, this problem causes login to hang (without
falling back to fall-back mode) and in the best case it slows down
login until a network connection is acquired.

Additionally, in order to sanely use these evolution-data-server
libraries, GConf has to be involved and GConf is not thread-safe. So
it's not really feasible just moving the code to a separate
thread. Therefore, move all calendar IO out of process and use a
simple (and private) D-Bus interface for the shell to communicate with
the out-of-process helper.

For simplification, remove existing in-process code since internal
interfaces have been slightly revised. This means that the shell is no
longer using any native code for drawing the calendar dropdown.

https://bugzilla.gnome.org/show_bug.cgi?id=641396

Signed-off-by: David Zeuthen <davidz@redhat.com>
15 years agoExtend, don't replace GI_TYPELIB_PATH in gnome-shell launcher
Alexander Larsson [Mon, 28 Feb 2011 20:34:48 +0000 (21:34 +0100)]
Extend, don't replace GI_TYPELIB_PATH in gnome-shell launcher

Without this we can't support some gi typelibs being in system
directories.

15 years agoClaim DBus names (Shell, Notifictions) *very* early
Colin Walters [Fri, 25 Feb 2011 19:41:39 +0000 (14:41 -0500)]
Claim DBus names (Shell, Notifictions) *very* early

See commit f2158218bef0c51 in mutter.  Basically, we need
to grab org.freedesktop.Notifications before anything else
in the session gets started.

Note: I intentionally removed the Util.killall bits.  I believe that
for notification-daemon at least, if we specify
DBUS_NAME_FLAG_REPLACE_EXISTING, we'll take over the name.  Not sure
about notify-osd; if that's still a problem, then what we need to do
is add killing (and possibly respawning) of notify-osd to
"gnome-shell --replace", and not have it embedded randomly in a JS file.

https://bugzilla.gnome.org/show_bug.cgi?id=642666

15 years agoEnsure that all signatures are defined in DBus interfaces
Giovanni Campagna [Sat, 26 Feb 2011 18:21:10 +0000 (19:21 +0100)]
Ensure that all signatures are defined in DBus interfaces

The DBus JS binding will complain if the signature of a method
or of a signal is undefined, so we need to define it even if it
is an empty string, and we need to use the correct property name
for signals.

https://bugzilla.gnome.org/show_bug.cgi?id=643374

15 years agognome-shell-build-setup.sh: belatedly remove xephyr-related stuff
Dan Winship [Mon, 28 Feb 2011 14:16:45 +0000 (09:16 -0500)]
gnome-shell-build-setup.sh: belatedly remove xephyr-related stuff

since --xephyr is gone now

15 years agobuild: Switch moduleset to clutter-1.6 branch
Adel Gadllah [Mon, 28 Feb 2011 12:07:44 +0000 (13:07 +0100)]
build: Switch moduleset to clutter-1.6 branch

We are targeting 1.6 for 3.0, so we should not follow the master
branch branch leading to 1.7

15 years agoUpdated Hebrew translation.
Yaron Shahrabani [Sun, 27 Feb 2011 20:58:53 +0000 (22:58 +0200)]
Updated Hebrew translation.

15 years agoUpdated Arabic translation
Khaled Hosny [Sun, 27 Feb 2011 00:24:44 +0000 (02:24 +0200)]
Updated Arabic translation

15 years agoUpdated Korean translation
Changwoo Ryu [Sat, 26 Feb 2011 21:41:16 +0000 (06:41 +0900)]
Updated Korean translation

15 years ago[l10n] Updated Estonian translation
Ivar Smolin [Sat, 26 Feb 2011 15:27:05 +0000 (17:27 +0200)]
[l10n] Updated Estonian translation

15 years agoalt-tab: Enforce icon size
Florian Müllner [Fri, 25 Feb 2011 12:49:34 +0000 (13:49 +0100)]
alt-tab: Enforce icon size

For applications with no proper desktop file, the window icon is
used as application icon in the tab switcher, but it won't have
the correct icon size. The current approach is to add additional
padding to these icons - the size turns out inconsistent with
other icons, but the icon appears sharp. For the dash it has been
decided that unsharp icons are less evil than differing icon sizes,
so icons are scaled up to the "right" size - for consistency, do the
same in the alt-tab switcher.

https://bugzilla.gnome.org/show_bug.cgi?id=643300

15 years agobase-icon: Enforce the requested icon size
Florian Müllner [Thu, 10 Feb 2011 15:30:28 +0000 (16:30 +0100)]
base-icon: Enforce the requested icon size

Mainly due to StTextureCache's way of handling fallback icons, an
implementation of BaseIcon.createIcon() may return an icon smaller
than the requested size. Given that BaseIcon is not used for isolated
elements, but rather for groups of related items (App view, Dash,
Search Results, ...), having some elements end up with the wrong
size is more annoying than having some elements end up ugly due to
scaling, so explicitly enforce the requested icon size.

https://bugzilla.gnome.org/show_bug.cgi?id=642043

15 years agoUpdated Spanish translation
Daniel Mustieles [Fri, 25 Feb 2011 19:35:52 +0000 (20:35 +0100)]
Updated Spanish translation

15 years agoUploaded Ukranian
Daniel Korostil [Fri, 25 Feb 2011 18:56:17 +0000 (20:56 +0200)]
Uploaded Ukranian

15 years agooverview: Remove unused 'getWorkspacesForWindow' method
Adel Gadllah [Fri, 25 Feb 2011 18:39:16 +0000 (19:39 +0100)]
overview: Remove unused 'getWorkspacesForWindow' method

15 years agoapp-display: Escape categories in filter labels
Florian Müllner [Fri, 25 Feb 2011 16:50:39 +0000 (17:50 +0100)]
app-display: Escape categories in filter labels

As gnome-shell now switched to use the menu file from gnome-menus,
we no longer have direct control over category names. If such a name
contains unescaped markup, the shell will crash when trying to create
the filter label, so make sure to escape markup in category names.

15 years agoDrop gs-applications.menu so the standard one is used
Vincent Untz [Tue, 1 Feb 2011 14:26:31 +0000 (15:26 +0100)]
Drop gs-applications.menu so the standard one is used

gs-applications was introduced because we initially wanted a limited set
of categories, but this has now changed and we're back to categories
similar to the ones in the applications.menu from gnome-menus.

We can fix gnome-menus to have better categories, if needed.

https://bugzilla.gnome.org/show_bug.cgi?id=641148

15 years agoappWellMenu: Show the "new window" item for non running apps
Adel Gadllah [Fri, 25 Feb 2011 14:43:43 +0000 (15:43 +0100)]
appWellMenu: Show the "new window" item for non running apps

There is no reason to not display it, and from a user's point of view the
distinction is confusing.

15 years agoauthentication-agent: Fix typo in user visible string
Florian Müllner [Fri, 25 Feb 2011 11:01:52 +0000 (12:01 +0100)]
authentication-agent: Fix typo in user visible string

https://bugzilla.gnome.org/show_bug.cgi?id=643275

15 years agoupdate Punjabi Translation by A S Alam
A S Alam [Fri, 25 Feb 2011 02:05:51 +0000 (07:35 +0530)]
update Punjabi Translation by A S Alam

15 years agoUse new name of gnome-session quit helper process
William Jon McCann [Thu, 24 Feb 2011 22:58:05 +0000 (17:58 -0500)]
Use new name of gnome-session quit helper process

Changed names from gnome-session-save to gnome-session-quit.

15 years agoDon't declare global variables
Giovanni Campagna [Thu, 24 Feb 2011 17:17:05 +0000 (18:17 +0100)]
Don't declare global variables

Fix a typo in panel.js, and ensure that all variables used in
functions are scoped to the block (using let), to avoid polluting
the global namespace.

https://bugzilla.gnome.org/show_bug.cgi?id=643210

15 years agoUpdated Spanish translation
Daniel Mustieles [Thu, 24 Feb 2011 19:34:52 +0000 (20:34 +0100)]
Updated Spanish translation

15 years agopanel: Don't let the app icon overlap the panel border
Florian Müllner [Thu, 24 Feb 2011 17:26:40 +0000 (18:26 +0100)]
panel: Don't let the app icon overlap the panel border

Commit 9a048af1f changed the panel border to be drawn below the
background - as a result, the app menu's icon now overlaps the
panel border. As it looks cleaner to leave the border in place,
clip the icon to the panel border.

15 years agoSmall fixes
Gabor Kelemen [Thu, 24 Feb 2011 15:33:19 +0000 (16:33 +0100)]
Small fixes

15 years agoUpdated Hungarian translation
Gabor Kelemen [Thu, 24 Feb 2011 15:11:35 +0000 (16:11 +0100)]
Updated Hungarian translation

15 years agoviewSelector: don't process key presses from capture-event
Dan Winship [Wed, 16 Feb 2011 18:27:05 +0000 (13:27 -0500)]
viewSelector: don't process key presses from capture-event

Rather than connecting to stage::capture-event and then trying to
guess whether or not a given key-press should be handled by us or not,
handle the end-search-on-Escape case from entry::key-press-event
(since it only makes sense when the entry is focused anyway) and the
start-search-on-printable-key case from stage::key-press-event (which
will only get the events that no other actor wanted for itself).

Similarly, do exit-overview-on-Escape and switch-panes cases from
stage::key-press-event, rather than
viewSelector.actor::key-press-event, so that they will work correctly
even if the keyboard focus is somewhere else. (Also fix a longstanding
bug in the pane-switching code, which was supposed to be disabled when
a search was active, but was checking a non-existent variable.)

https://bugzilla.gnome.org/show_bug.cgi?id=642502

15 years agoviewSelector: remove the search entry's event grab
Dan Winship [Wed, 16 Feb 2011 18:44:03 +0000 (13:44 -0500)]
viewSelector: remove the search entry's event grab

The search entry was taking a sort of grab when it was in the
focused-but-empty state, and would eat up most events for other actors
(except, confusingly, for panel actors). The only bit of "modality" we
really need here is that the entry is supposed to go back to the
unfocused state if you click somewhere outside it when it was in the
focused-but-empty state. So do that.

https://bugzilla.gnome.org/show_bug.cgi?id=642502

15 years agoviewSelector: merge SearchEntry into SearchTab
Dan Winship [Wed, 16 Feb 2011 18:20:03 +0000 (13:20 -0500)]
viewSelector: merge SearchEntry into SearchTab

The division of labor between the two was quite muddled. Rather than
try to invent a clean distinction of what belongs where, just merge
them together.

https://bugzilla.gnome.org/show_bug.cgi?id=642502

15 years agoscroll-view-fade: Adjust the effect to work in RTL locales
Florian Müllner [Thu, 24 Feb 2011 01:16:07 +0000 (02:16 +0100)]
scroll-view-fade: Adjust the effect to work in RTL locales

The vertical scrollbar is located on the left in RTL locales, so
pass an additional parameter to the shader which indicates the
locale's text direction.

https://bugzilla.gnome.org/show_bug.cgi?id=643156

15 years agoscroll-view: Make scrollbar position locale aware
Florian Müllner [Thu, 24 Feb 2011 00:34:44 +0000 (01:34 +0100)]
scroll-view: Make scrollbar position locale aware

In RTL locales, the vertical scrollbar should be located on the
left, so take the widget's text direction into account when
allocating the view's elements.

https://bugzilla.gnome.org/show_bug.cgi?id=643156

15 years agoXDND: Remove the switch timeout in _onDragEnd
Adel Gadllah [Thu, 24 Feb 2011 10:30:46 +0000 (11:30 +0100)]
XDND: Remove the switch timeout in _onDragEnd

When the user cancels the drag while hovering over a window the timeout
handler will throw an exception because the drag actor will be destroyed
at this point.

Fix that by removing the timeout in _onDragEnd.

15 years agoXDND: Always update the timestamp on motion
Adel Gadllah [Thu, 24 Feb 2011 10:25:29 +0000 (11:25 +0100)]
XDND: Always update the timestamp on motion

The xdnd timestamp gets updated on every xdnd-position event,
so while waiting for the window timeout to fire we need to make sure we
update the timestamp when getting on motion to activate the window
with the correct timestamp.

15 years agomain: Remove left-over 'hotCorner' global
Jasper St. Pierre [Wed, 23 Feb 2011 22:09:28 +0000 (17:09 -0500)]
main: Remove left-over 'hotCorner' global

Commit 259c84ed9a refactored out HotCorner into its own class
and added this line and a variable, but it was left behind
when the variable disappeared in commit 7cf311dac024d.

15 years agobuild: Fix libusb dependency on Ubuntu
Florian Müllner [Wed, 23 Feb 2011 21:56:51 +0000 (22:56 +0100)]
build: Fix libusb dependency on Ubuntu

I really shouldn't look up package names after midnight ...

15 years agobuild: Add panel-border.svg to Makefile.am
Florian Müllner [Wed, 23 Feb 2011 21:14:16 +0000 (22:14 +0100)]
build: Add panel-border.svg to Makefile.am

I forgot to add it in commit 9a048af1fb9.

15 years agotelepathyClient: Fix two minor typos
Jasper St. Pierre [Sun, 20 Feb 2011 07:40:46 +0000 (02:40 -0500)]
telepathyClient: Fix two minor typos

https://bugzilla.gnome.org/show_bug.cgi?id=642793

15 years agopolkit: don't show authentication dialog until needed
David Zeuthen [Wed, 23 Feb 2011 18:34:29 +0000 (13:34 -0500)]
polkit: don't show authentication dialog until needed

See https://bugs.freedesktop.org/show_bug.cgi?id=27788#c1 for details
about the problem this patch is solving

In particular, we should never bring up the dialog if there is no
password on the account. While this sounds like a weird corner case,
it's not.. the Live CD, for example, does not have a root password.

This also avoids the initial dialog resize.. before the patch the
authentication dialog appears and a split-second later an StEntry
widget is added.

Also print out more diagnostic information if showing the modal dialog
fails. Also add a comment about how to easily make this happen.

Signed-off-by: David Zeuthen <davidz@redhat.com>
15 years agopanel: Reposition corners on changes to the monitor layout
Florian Müllner [Wed, 23 Feb 2011 14:16:18 +0000 (15:16 +0100)]
panel: Reposition corners on changes to the monitor layout

When the monitor layout changes, the panel might have been moved
to another monitor, in which case the rounded corners need to be
repositioned.

https://bugzilla.gnome.org/show_bug.cgi?id=643064

15 years agopanel: Add a relayout() method to position the panel
Florian Müllner [Wed, 23 Feb 2011 17:56:51 +0000 (18:56 +0100)]
panel: Add a relayout() method to position the panel

Currently the panel is positioned from main.js, move that code into
a method in panel.js instead and call it from main.js, which is
consistent with what we do for the overview.

https://bugzilla.gnome.org/show_bug.cgi?id=643064

15 years agoTrack fullscreen status per-monitor in Chrome
Alexander Larsson [Wed, 23 Feb 2011 16:08:09 +0000 (17:08 +0100)]
Track fullscreen status per-monitor in Chrome

This is required since we can have chrome on multiple monitors (due to
per-monitor hot-corners).

Windows are primary associated with the monitor that their center is on.

https://bugzilla.gnome.org/show_bug.cgi?id=642881

15 years agoPut a hot corner on each monitor
Alexander Larsson [Wed, 23 Feb 2011 14:17:25 +0000 (15:17 +0100)]
Put a hot corner on each monitor

https://bugzilla.gnome.org/show_bug.cgi?id=642881

15 years agoMove HotCorner to chrome instead of in the panel
Alexander Larsson [Wed, 23 Feb 2011 13:35:45 +0000 (14:35 +0100)]
Move HotCorner to chrome instead of in the panel

This prepares for there being multiple hot corners, one per monitor.

https://bugzilla.gnome.org/show_bug.cgi?id=642881

15 years agoFactor out hot corner handling into a class
Alexander Larsson [Wed, 23 Feb 2011 10:22:49 +0000 (11:22 +0100)]
Factor out hot corner handling into a class

This is needed so that we can have several instances, one per
monitor.

This also makes the hot corner environments a container which
contains the corner.

https://bugzilla.gnome.org/show_bug.cgi?id=642881

15 years agoKeyboardStatus: fix showing current layout
Giovanni Campagna [Wed, 23 Feb 2011 17:52:35 +0000 (18:52 +0100)]
KeyboardStatus: fix showing current layout

Util.spawn accepts an array of strings as the arguments, and will
not implicitly convert other types.

https://bugzilla.gnome.org/show_bug.cgi?id=643104

15 years agoA11yStatus: ignore an user default of O dpi
Giovanni Campagna [Mon, 17 Jan 2011 18:11:11 +0000 (19:11 +0100)]
A11yStatus: ignore an user default of O dpi

The default for the DPI setting is 0, but 0 * any scaling factor
is 0, so we need to deal with that, by falling back to X default.

https://bugzilla.gnome.org/show_bug.cgi?id=639762

15 years agoUpdated Italian translation
Luca Ferretti [Wed, 23 Feb 2011 17:28:19 +0000 (18:28 +0100)]
Updated Italian translation

15 years agoUpdated Arabic translation
Khaled Hosny [Wed, 23 Feb 2011 16:51:31 +0000 (18:51 +0200)]
Updated Arabic translation

15 years agoAdd missing file
Khaled Hosny [Wed, 23 Feb 2011 16:49:12 +0000 (18:49 +0200)]
Add missing file

15 years agopanel: Move panel border into the background
Florian Müllner [Mon, 21 Feb 2011 18:04:40 +0000 (19:04 +0100)]
panel: Move panel border into the background

In the mockups the bottom border of active panel buttons is drawn
on top of the panel's border. To get this effect, move the panel
border into the background, so that it is not subtracted from the
vertical space given to the buttons. Adjust the drawing of the rounded
corners to reflect that change.

https://bugzilla.gnome.org/show_bug.cgi?id=643001

15 years agopolkit: return error when authentication dialog is dismissed
David Zeuthen [Tue, 22 Feb 2011 21:54:08 +0000 (16:54 -0500)]
polkit: return error when authentication dialog is dismissed

This allows PolicyKit applications to disambiguate between when the
authentication dialog is dismissed versus when authentication fails
(e.g. the wrong password has been entered).

See https://bugs.freedesktop.org/show_bug.cgi?id=30653 for more
information.

Signed-off-by: David Zeuthen <davidz@redhat.com>
15 years agoAdd explicit x11 dependencies
Rico Tzschichholz [Tue, 22 Feb 2011 18:34:52 +0000 (19:34 +0100)]
Add explicit x11 dependencies

Since Ubuntu patches clutter-1.0.pc to remove x11 from the requires,
we have to list it explicitly for places we use X11 functions, like
ST and the shell recorder.

https://bugzilla.gnome.org/show_bug.cgi?id=643003

15 years agoRemove unused tracking of visibility in Chrome
Alexander Larsson [Mon, 21 Feb 2011 14:30:40 +0000 (15:30 +0100)]
Remove unused tracking of visibility in Chrome

https://bugzilla.gnome.org/show_bug.cgi?id=642881

15 years agoNo need to Check for grabbed menus on hot corner enter/click
Alexander Larsson [Wed, 23 Feb 2011 10:09:46 +0000 (11:09 +0100)]
No need to Check for grabbed menus on hot corner enter/click

We never get enter events anyway due to the menu code, and if
the user clicks on a non-menu the menu is removed and ungrabbed
before the target actor gets the event anyway.

https://bugzilla.gnome.org/show_bug.cgi?id=642881

15 years agodateMenu: Make sure that the event list fills the available width
Adel Gadllah [Wed, 23 Feb 2011 13:34:37 +0000 (14:34 +0100)]
dateMenu: Make sure that the event list fills the available width

Currently the menu has a hardcoded width which result into the hover
effect of the "Open Calendar" item being "cut off" in the middle rather
then reaching to the edge.

To be consistent with other menu items, make it expand to fill the available
space.

15 years agoUpdated Norwegian bokmål translation.
Kjartan Maraas [Wed, 23 Feb 2011 08:40:52 +0000 (09:40 +0100)]
Updated Norwegian bokmål translation.

15 years agoBump version to 2.91.90
Owen W. Taylor [Wed, 23 Feb 2011 02:54:58 +0000 (21:54 -0500)]
Bump version to 2.91.90

15 years agoRequire Mutter 2.91.90
Owen W. Taylor [Wed, 23 Feb 2011 03:45:54 +0000 (22:45 -0500)]
Require Mutter 2.91.90

2.91.90 is needed for MetaWindowActor ::position-changed signal

15 years agoUpdate calendar font style
Jonathan Strander [Wed, 16 Feb 2011 00:46:32 +0000 (18:46 -0600)]
Update calendar font style

Now that we are using Cantarell as the default UI font, some clarity
was reduced in using the calendar. Mockups already address this so
change the font styles in CSS to match the mockups.

https://bugzilla.gnome.org/show_bug.cgi?id=642194

15 years agognome-shell.modules: fix dependencies for upower
Owen W. Taylor [Wed, 23 Feb 2011 01:12:10 +0000 (20:12 -0500)]
gnome-shell.modules: fix dependencies for upower

We don't build dbus-glib so don't make upower depend on that, and
make gnome-shell depend on upower.

15 years agobuild: Add libusb dependency
Florian Müllner [Wed, 23 Feb 2011 00:56:14 +0000 (01:56 +0100)]
build: Add libusb dependency

UPower requires libusb-1.0.

15 years agognome-shell.modules: build upower with introspection
Owen W. Taylor [Wed, 23 Feb 2011 00:51:43 +0000 (19:51 -0500)]
gnome-shell.modules: build upower with introspection

The whole point of building upower is to get the introspection
support, so remove --enable-introspection=no from the autogenargs.

15 years agoRemove minimize and maximize buttons from title bar
Owen W. Taylor [Wed, 23 Feb 2011 00:32:46 +0000 (19:32 -0500)]
Remove minimize and maximize buttons from title bar

The minimize and maximize buttons on the titlebar have lost much of their
utility in GNOME 3: the minimize functionality is largely superceded by
the ability to switch windows in the overview and conveniently use
multiple workspaces, while the maximize functionality is available by
drag to the top gesture or double clicking on the title bar.

Removing these buttons significantly cleans up the default appearance
and avoids exposing a half-done implementation of minimization.

http://mail.gnome.org/archives/gnome-shell-list/2011-February/msg00192.html
https://bugzilla.gnome.org/show_bug.cgi?id=604237

15 years agostatusMenu: change how we stop the system
Ray Strode [Fri, 4 Feb 2011 23:37:54 +0000 (18:37 -0500)]
statusMenu: change how we stop the system

This updates the way we stop the system to
somewhat match the designs here:

https://live.gnome.org/GnomeShell/Design/Whiteboards/SystemStopRestart

We suspend by default unless suspend is unavailable, and offer shutdown
as a choice by hold down the alt key.

https://bugzilla.gnome.org/show_bug.cgi?id=636680

15 years agopopupMenu: add alternate menu item
Ray Strode [Mon, 21 Feb 2011 20:25:56 +0000 (15:25 -0500)]
popupMenu: add alternate menu item

This is special menu item that can alternate
between two choices when you hit the alt key.

It will be useful for getting a hybrid
suspend/power off menu item.

https://bugzilla.gnome.org/show_bug.cgi?id=636680

15 years agobuild: Add upower as dependency in moduleset
Ray Strode [Mon, 21 Feb 2011 18:44:19 +0000 (13:44 -0500)]
build: Add upower as dependency in moduleset

Now that we use it to suspend, we need to pull it
in during the build process.

https://bugzilla.gnome.org/show_bug.cgi?id=636680

15 years agopanel: Defer adding the user status menu to the manager
Florian Müllner [Tue, 22 Feb 2011 16:40:32 +0000 (17:40 +0100)]
panel: Defer adding the user status menu to the manager

PopupMenuManager relies on menus being added in the order of the
menu buttons they are attached to, so defer adding the user status
menu until the status icon menus have been added to make the manager
happy.

15 years agoMessageTray: Use status from gnome-session
Giovanni Campagna [Sat, 19 Feb 2011 15:49:56 +0000 (16:49 +0100)]
MessageTray: Use status from gnome-session

This patch modifies MessageTray behaviour so that normal (not urgent)
notifications are not shown when the user is Busy (they're sent
immediately to the Summary area). When status is then changed,
notifications still pending are shown again.
Additionally, when status is modified from Idle to anything other than
Busy, the message tray is forced open for 4 seconds, so that summary
icons are visible.

https://bugzilla.gnome.org/show_bug.cgi?id=617225

15 years agobuild: Bump polkit module
Florian Müllner [Tue, 22 Feb 2011 21:29:01 +0000 (22:29 +0100)]
build: Bump polkit module

GNOME Shell requires polkit-0.100.

15 years agoAdd a PolicyKit authentication agent
David Zeuthen [Mon, 21 Feb 2011 17:17:34 +0000 (12:17 -0500)]
Add a PolicyKit authentication agent

A PolicyKit Authentication Agent is a construct used to authenticate
one or more identities. See the PolicyKit documentation for more
details on authentication agents and how PolicyKit works:

    http://hal.freedesktop.org/docs/polkit/

Since gjs does not support subclassing a GObject class from Javascript
code, we bring in a native class to bridge the VFuncs to GObject
signals. Additionally, this native class also queues up authentication
requests so the user of the native class only has to deal with a
single outstanding request at any one time.

The file js/ui/polkitAuthenticationAgent.js introduces a singleton
that listens for authentication requests via the native class. This
singleton uses the PolkitAgent machinery to do the actual heavy-weight
lifting required for authentication (essentially a PAM conversation).

We currently don't allow the user to pick the identity to be
authenticated.

https://bugzilla.gnome.org/show_bug.cgi?id=642886

Signed-off-by: David Zeuthen <davidz@redhat.com>
15 years agoUpdated Spanish translation
Daniel Mustieles [Tue, 22 Feb 2011 19:48:39 +0000 (20:48 +0100)]
Updated Spanish translation

15 years agotweener: remove tweens when target.actor is destroyed
Owen W. Taylor [Tue, 22 Feb 2011 14:25:48 +0000 (09:25 -0500)]
tweener: remove tweens when target.actor is destroyed

We already remove tweens automatically when a Clutter actor is destroyed;
do the same when the target is a JS delegate with an actor property.

https://bugzilla.gnome.org/show_bug.cgi?id=642925

15 years agoShellWindowTracker: fix a reference counting bug
Giovanni Campagna [Sat, 19 Feb 2011 15:19:31 +0000 (16:19 +0100)]
ShellWindowTracker: fix a reference counting bug

When retrieving a ShellApp from the GHashTable of child processes,
we need to take an extra reference, that the GHashTable of windows
to apps will own.
Also add some documentation to avoid repeating this bug in the future.

https://bugzilla.gnome.org/show_bug.cgi?id=642699

15 years agoUpdated Hebrew translation.
Yaron Shahrabani [Tue, 22 Feb 2011 06:14:33 +0000 (08:14 +0200)]
Updated Hebrew translation.

15 years agosearch-entry: Make the icon slightly smaller
Florian Müllner [Mon, 21 Feb 2011 17:41:58 +0000 (18:41 +0100)]
search-entry: Make the icon slightly smaller

Set the icon size in the search entry to 1em on designers' request.

15 years agopanel: Fix corner positions for multi-monitors
Florian Müllner [Mon, 21 Feb 2011 18:06:07 +0000 (19:06 +0100)]
panel: Fix corner positions for multi-monitors

The corner positions were only based on the panel's dimensions, its
position needs to be taken into account as well.

15 years agoUpdated Italian translation
Luca Ferretti [Mon, 21 Feb 2011 21:51:36 +0000 (22:51 +0100)]
Updated Italian translation

15 years agoshell_global: Use clutter_event_get_time rather then get_current_event_time
Adel Gadllah [Wed, 16 Feb 2011 20:12:07 +0000 (21:12 +0100)]
shell_global: Use clutter_event_get_time rather then get_current_event_time

Using clutter_get_current_event_time can result into too old timestamps
when there is no current Clutter or Mutter event, since
clutter_get_current_event_time() returns the timestamp of the last event
delivered to Clutter. This can result in, for example, grabs failing. Use
the event time of the current event (if any) and CurrentTime otherwise.

https://bugzilla.gnome.org/show_bug.cgi?id=642188

15 years agoUpdated Arabic translation
Khaled Hosny [Mon, 21 Feb 2011 21:39:18 +0000 (23:39 +0200)]
Updated Arabic translation

15 years agoAdjust padding of sources in summary
Marina Zhurakhinskaya [Mon, 21 Feb 2011 21:29:54 +0000 (16:29 -0500)]
Adjust padding of sources in summary

Make the right padding bigger and the left padding smaller, so that the
boundaries that trigger the accordion effect are more closely associated
with corresponding icons. Also slightly decrease the overall padding between
sources.

15 years agoworkspaces: Remove the unused '_removeSelf' method
Adel Gadllah [Mon, 21 Feb 2011 20:31:07 +0000 (21:31 +0100)]
workspaces: Remove the unused '_removeSelf' method

https://bugzilla.gnome.org/show_bug.cgi?id=640363

15 years agoStWidget: unset hover when unmapped
Marina Zhurakhinskaya [Sat, 19 Feb 2011 02:06:30 +0000 (21:06 -0500)]
StWidget: unset hover when unmapped

This ensures that the hover property doesn't return true after
the widget is unmapped while being hovered over.

https://bugzilla.gnome.org/show_bug.cgi?id=642726

15 years agoPopupMenu: introduce PopupMenuSection
Giovanni Campagna [Tue, 25 Jan 2011 21:04:57 +0000 (22:04 +0100)]
PopupMenu: introduce PopupMenuSection

Complex popup menus require the ability to manager sequences of items
as "sections", to which you can add and and remove items, as well
as hide and show.
PopupMenuSection does exactly that, leveraging the existing machinery
for submenus, but without being exposed as a submenu to the user.
Also, make getMenuItems() private, since it is used for different things
now and may change semantics in the future.

https://bugzilla.gnome.org/show_bug.cgi?id=621707

15 years agoPopupMenu: make parameters overridable in items
Giovanni Campagna [Tue, 25 Jan 2011 21:06:40 +0000 (22:06 +0100)]
PopupMenu: make parameters overridable in items

Make all subclasses of PopupMenuBase accept a params argument, which
can be used to make the item non reactive, not responsive to hover
and, as a new feature, with a different style class.

https://bugzilla.gnome.org/show_bug.cgi?id=621707

15 years agoworkspaces: Remove obsolete comment
Adel Gadllah [Sat, 19 Feb 2011 23:39:10 +0000 (00:39 +0100)]
workspaces: Remove obsolete comment

https://bugzilla.gnome.org/show_bug.cgi?id=640361

15 years agoA11yStatus: fix resetting the GTK and icon themes
Giovanni Campagna [Fri, 18 Feb 2011 15:15:35 +0000 (16:15 +0100)]
A11yStatus: fix resetting the GTK and icon themes

If the Shell is started with HighContrast enabled, it will never
see another value for the GSettings keys. In that case, we just
reset to the default.

https://bugzilla.gnome.org/show_bug.cgi?id=642641

15 years agoKeyboardStatus: add "Show layout" item
Giovanni Campagna [Sat, 5 Feb 2011 18:30:16 +0000 (19:30 +0100)]
KeyboardStatus: add "Show layout" item

Add a menu item that opens a dialog showing the current keyboard
layout. Uses the new utility in libgnomekbd.

https://bugzilla.gnome.org/show_bug.cgi?id=641415

15 years agooverview: avoid round-off errors when sizing and positioning view selector
Owen W. Taylor [Mon, 21 Feb 2011 14:32:35 +0000 (09:32 -0500)]
overview: avoid round-off errors when sizing and positioning view selector

We need the view selector to extend all the way to the right edge of the
monitor, so size and position the view selector in a way that the sum of
its X position and its width add up to the primary monitor width.

https://bugzilla.gnome.org/show_bug.cgi?id=642834

15 years agocalendar: Update style
Florian Müllner [Wed, 9 Feb 2011 02:18:46 +0000 (03:18 +0100)]
calendar: Update style

The style used to highlight today's date should follow the style
of active panel buttons, so update it to reflect the new panel
style.

https://bugzilla.gnome.org/show_bug.cgi?id=642697

15 years agopanel-buttons: Remove transitions for corner buttons
Florian Müllner [Fri, 18 Feb 2011 01:33:41 +0000 (02:33 +0100)]
panel-buttons: Remove transitions for corner buttons

So far transitions do not work for the custom drawn corners, so to
avoid a visible glitch when transitioning a button in the panel corner
while updating the style of the apparently attached corner instantly,
remove transition of those panel buttons until we make it work for the
custom drawn parts as well.

https://bugzilla.gnome.org/show_bug.cgi?id=642697

15 years agopanel: Add rounded corners
Florian Müllner [Wed, 9 Feb 2011 02:12:10 +0000 (03:12 +0100)]
panel: Add rounded corners

Current mockups show the panel curving downwards at the edges to
frame the work area and look awesome. Implement those as separate
actors to not affect the struts set by the panel, and synchronize
their state with the corresponding panel buttons so they blend in
with the panel. It might be worth considering whether the corners
should be hidden with maximized windows on the current workspace,
though this might affect the illusion of them being part of the
panel. As the corners don't affect the input region, the small
overlap with windows might not be too bad after all.

https://bugzilla.gnome.org/show_bug.cgi?id=642697

15 years agopanel: Adjust CSS for RTL locales
Florian Müllner [Sat, 19 Feb 2011 11:21:07 +0000 (12:21 +0100)]
panel: Adjust CSS for RTL locales

The groups at the panel sides use different left/right padding, so
a slightly different CSS is required for RTL locales. Add :rtl
pseudo classes as necessary and adjust the CSS.

https://bugzilla.gnome.org/show_bug.cgi?id=642697

15 years agoappMenu: Clip app icon when the button is active
Florian Müllner [Fri, 18 Feb 2011 22:00:04 +0000 (23:00 +0100)]
appMenu: Clip app icon when the button is active

We now use a border image on active panel buttons to underline the
button's content. As the property does not affect the content's
allocation, the app icon ends up being drawn on top of the border
image. To prevent this, use a custom property to clip the bottom of
the app icon when the button is active.

https://bugzilla.gnome.org/show_bug.cgi?id=642697

15 years agopanel: Update style
Florian Müllner [Wed, 9 Feb 2011 02:11:57 +0000 (03:11 +0100)]
panel: Update style

Update the style of the panel to match the latest mockups.

 - add a subtle border at the bottom of the panel
 - use a highlight of active panel buttons similar to the one
   used for running applications in the dash/app view
 - shadow the buttons' label/icon when highlighted

https://bugzilla.gnome.org/show_bug.cgi?id=642697

15 years agopanel: Move statusmenu initialization in the constructor
Florian Müllner [Fri, 18 Feb 2011 01:34:45 +0000 (02:34 +0100)]
panel: Move statusmenu initialization in the constructor

While related to the status area, the user status button is clearly
not a status icon, and it does not make too much sense in
startStatusArea(), which is about filling the status area with
icons. Also, the status icon container is added to the panel in
the constructor, in fact, the user status button is the only "toplevel"
panel element which is initialized elsewhere. Not a crucial change,
but makes for a nice read anyway.

https://bugzilla.gnome.org/show_bug.cgi?id=642697

15 years agosearch-entry: Update style
Florian Müllner [Thu, 10 Feb 2011 21:11:48 +0000 (22:11 +0100)]
search-entry: Update style

Update the style of the search entry to match the latest mockups[0].

 - use a (non-reactive) loupe icon when no search is active
 - use themed symbolic icons
 - make the entry rounder
 - tweak gradient colors
 - use an inset shadow

[0] http://git.gnome.org/browse/gnome-shell-design/plain/mockups/static/searchbox.png

https://bugzilla.gnome.org/show_bug.cgi?id=642335

15 years agotests: Add a box-shadow test
Florian Müllner [Wed, 16 Feb 2011 15:47:46 +0000 (16:47 +0100)]
tests: Add a box-shadow test

The original support for CSS based shadows has been extended with
support for an optional spread radius and the 'inset' keyword,
so with the additional complexity a dedicated test case looks
appropriate.

https://bugzilla.gnome.org/show_bug.cgi?id=642334

15 years agost-theme-node: Add support for inset box-shadows
Florian Müllner [Mon, 14 Feb 2011 01:34:00 +0000 (02:34 +0100)]
st-theme-node: Add support for inset box-shadows

Implement inset box-shadows as in the CSS3 draft[0]. As the shadow
should appear beneath the node's border, we pick the slow cairo based
rendering path (though a cogl based path could be added in case the
node has a solid background with no borders).

[0] http://www.w3.org/TR/css3-background/#box-shadow

https://bugzilla.gnome.org/show_bug.cgi?id=642334

15 years agost-shadow: Parse the 'inset' keyword
Florian Müllner [Mon, 14 Feb 2011 01:07:14 +0000 (02:07 +0100)]
st-shadow: Parse the 'inset' keyword

The box-shadow property in the CSS3 draft[0] supports the optional
'inset' keyword for inner shadows cast onto the background. Add
support for the keyword to the shadow parsing code.

[0] http://www.w3.org/TR/css3-background/#box-shadow

https://bugzilla.gnome.org/show_bug.cgi?id=642334

15 years agotheme-node-drawing: Rename render_background_with_border()
Florian Müllner [Mon, 14 Feb 2011 20:22:11 +0000 (21:22 +0100)]
theme-node-drawing: Rename render_background_with_border()

As more cases are added where we pick the slower cairo based
fallback path, use a more generic name.

https://bugzilla.gnome.org/show_bug.cgi?id=642334